package com.doone.telmarket.infrastructure.dao;

import java.util.List;

import com.doone.telmarket.domain.Service;
import com.doone.telmarket.domain.ServicePage;

/**
 * 
 * @author 吴同庆
 * @date 2009-9-15
 * @description 增值业务实体数据库问接口
 * @package     com.doone.telmarket.infrastructure.dao
 */
public interface ServiceDAO {
	
	/**根据ID获取增值业务**/
	Service selectServiceByPrimaryKey(String serviceCode);
	/**保存增值业务**/
	Service insertService(Service service);
	/**根据类型获取增值业务**/
	public List<Service> getServiceList(Service service);
	/**根据ID删除增值业务**/
	public int deleteServiceById(String id);
	/**根据增值业务ID查询增值业务PAGEBEAN**/
	public ServicePage selectServicePageByPrimaryKey(String serviceId);
	/**保存增值业务PAGEBEAN**/
	public void insertServicePage(ServicePage servicePage);
	/**更新增值业务**/
	public void updateService(ServicePage servicePage);
}
